#include <iostream>
#include "status.h"
#include "queue.h"
using namespace std;

int main()
{
	Queue<int> queue;

	for (int i = 0; i < 10; i++)
		queue.EnQueue(i);

	queue.QueueTraverse();
	cout << "************" << endl;

	/*for (int i = 0; i < 5; i++)
	{
		cout << "第" << i << "次" << endl;
		int j;
		queue.DeQueue(j);
		cout << "崩出" << j << endl;
		queue.QueueTraverse();
	}*/
	int outData;
	queue.DeQueue(outData);
	queue.QueueTraverse();
	cout << "out data : " << outData << endl;

	//system("pause");
	cin.get();
}